﻿<UserControl x:Class="agile_tool.userControl.create"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" >
    <UserControl.Resources>
    

        <Storyboard x:Key="openTheDesc">
            <DoubleAnimation Storyboard.TargetName="tbDesc" Storyboard.TargetProperty="(Height)" From="0" To="150" Duration="0:0:1" AutoReverse="False"  />
        </Storyboard>
        <Storyboard x:Key="closeTheDesc">
            <DoubleAnimation Storyboard.TargetName="tbDesc" Storyboard.TargetProperty="(Height)" From="150" To="0" Duration="0:0:1" AutoReverse="False"  />
        </Storyboard>
        

    </UserControl.Resources>
    
    <StackPanel >
        <Border BorderBrush="Black" BorderThickness="4" CornerRadius="6" >
        <StackPanel>
        
            <StackPanel Orientation="Horizontal" >

            <TextBox Name="tbName" Width="372"></TextBox>
            <ListBox Visibility="Collapsed" Name="lbList" Width="372"></ListBox>

             <Button Content="Save" Height="23" Name="btnSave" Width="75" />
            <Button Content="Cancel" Height="23" Name="btnCancel" Width="75" />
        </StackPanel>
        <TextBox Name="tbDesc" Height="0" Width="443">

            </TextBox>
        </StackPanel>
        </Border>
    </StackPanel>
    
    
</UserControl>
